include ./config.mk
ROOT    = $(PWD)
SUBDIR  = $(ROOT)/cjson
SUBDIR += $(ROOT)/external_sdk_client
SUBDIR += $(ROOT)/sha256
SUBDIR += $(ROOT)/demo

define make_subdir
@for i in $(SUBDIR); do   \
	( cd $$i && make $1 ) \
done;
endef

ALL: 
	$(call make_subdir)

clean:
	$(call make_subdir , clean)